package com.dq.repository.set;


import com.dq.domain.org.Org;
import com.dq.domain.setup.GiftGrantSet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author luchangtong
 * @Date 2019/12/27 19:45
 */
@Repository
public interface GiftGrantSetRepository extends JpaRepository<GiftGrantSet,Long> {
    List<GiftGrantSet> findByDeletedFalse();
    List<GiftGrantSet> findByOrgAndDeletedFalse(Org org);
}
